let COMMON = require("./common.js");

COMMON.debug = false;
main();

function main() {
  auto.waitFor();
  while (true) {
    viewTask();
  }
}

function viewTask() {
  if (COMMON.ClickByText('去完成')) {
    sleep(18000);
    back();
    sleep(1000);
  }
}
